package com.lagou.sqlSession;

import java.util.List;

public interface SqlSession {
    //查询所有
    public <E> List<E>selectList(String statementId,Object...params) throws Exception;

    //查询单条信息
    public <T>T selectOne(String statementId,Object...params) throws Exception;

    public void executeTable(String statementId,Object...params) throws Exception;

    public <T> T getMapper(Class<?>mapperClass);
}
